package com.bite.book.mapper;

import com.bite.book.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    //根据用户名查询用户信息
    @Select("select * from user_info where delete_flag = 0 and user_name = #{username}")
    UserInfo queryUserByName(String userName);
}
